//
//  EBMCustomerTitleAlertView.h
//  GuTouBao
//
//  Created by zhaoshijie on 2018/7/18.
//  Copyright © 2018 zhaoshijie. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface EBMCustomerTitleAlertView : EBMBaseWindowUpperView


#pragma mark --------------创建变量--------------

//  标题
@property(nonatomic,strong)NSString *titleString;
//  内容
@property(nonatomic,strong)NSString *contentString;
//  左侧文字
@property(nonatomic,strong)NSString *leftString;
//  右侧文字
@property(nonatomic,strong)NSString *rightString;
//  字体方向
@property(nonatomic,assign)NSTextAlignment textAlignment;


//  左侧按钮回调
@property(nonatomic,copy)OperationBlock leftClickBlock;
//  右侧按钮回调
@property(nonatomic,copy)OperationBlock rightClickBlock;


//  内容字体的高度
@property(nonatomic,assign)CGFloat contentHight;


#pragma mark --------------创建控件--------------


//  标题
@property(nonatomic,strong)UILabel *titleLabel;
//  内容
@property(nonatomic,strong)UILabel *contentLabel;
//  左侧
@property(nonatomic,strong)UILabel *leftLabel;
//  右侧
@property(nonatomic,strong)UILabel *rightLabel;


#pragma mark --------------方法--------------


/**
 初始化方法
 
 @param title 标题
 @param content 内容
 @param textAlignment 内容字体方向
 @param left 左侧按钮标题
 @param right 右侧按钮标题
 @param leftClickBlock 左侧按钮回调
 @param rightClickBlock 右侧按钮回调
 @return 对象
 */
- (instancetype)initWithTitle:(NSString *)title
                      content:(NSString *)content
                textAlignment:(NSTextAlignment)textAlignment
                         left:(NSString *)left
                        right:(NSString *)right
               leftClickBlock:(OperationBlock)leftClickBlock
              rightClickBlock:(OperationBlock)rightClickBlock;






@end
